package com.hdsx.jxcsxm.log.strategy.impl;

import com.hdsx.jxcsxm.log.bean.SysLog;
import com.hdsx.jxcsxm.log.strategy.IOperatStrategy;
import com.hdsx.jxcsxm.log.type.BusinessType;
import com.hdsx.jxcsxm.log.util.CommonUtils;
import com.opensymphony.xwork2.ActionInvocation;
import org.apache.struts2.dispatcher.HttpParameters;

import javax.servlet.http.HttpServletRequest;

/**
 * @author 占贤银
 * time 2023/8/18 17:40
 * description 生命之灯因热情而点燃，生命之舟因拼搏而前行
 */
public class JhcxOperatStrategy implements IOperatStrategy {

    /**
     * {xmjbxx.jsxz=农村公路建设, xmjbxx.gcfl=, xmjbxx.jhxdwh=, rows=10, xmjbxx.xzqh=360423, xmjbxx.xmbm=, xmjbxx.knw=, xmjbxx.gydwdm=11101360423, page=1, xmjbxx.xmnf=2023, xmjbxx.tsdq=, xmjbxx.xmmc=}
     * /jxcsxm/jhcx/queryXmlist.do
     * @param invocation
     * @param request
     * @return
     */
    @Override
    public SysLog operate(ActionInvocation invocation,
                          HttpServletRequest request) {
        return CommonUtils.getCommonSyslog(invocation, request, BusinessType.JHXC_TYPE);
    }
}
